package com.ruoyi.system.service.vantservice.customerervice.impl;

import com.ruoyi.system.domain.customer.OwnerEvaluation;
import com.ruoyi.system.mapper.vant.customer.OwnerEvaluationMapper;
import com.ruoyi.system.service.vantservice.customerervice.OwnerEvaluationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OwnerEvaluationServiceImpl implements OwnerEvaluationService {

    @Autowired
    private OwnerEvaluationMapper ownerEvaluationMapper;

    @Override
    public OwnerEvaluation selectOwnerEvaluationById(Long ownerId) {
        return ownerEvaluationMapper.selectOwnerEvaluationById(ownerId);
    }

    @Override
    public List<OwnerEvaluation> selectOwnerEvaluationList(OwnerEvaluation ownerEvaluation) {
        return ownerEvaluationMapper.selectOwnerEvaluationList(ownerEvaluation);
    }

    @Override
    public int insertOwnerEvaluation(OwnerEvaluation ownerEvaluation) {
        return ownerEvaluationMapper.insertOwnerEvaluation(ownerEvaluation);
    }
}
